<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Thay đổi quền thành viên</title>
</head>

<body>
<?php
$id = $_REQUEST["id"];
$page = $_REQUEST["page"];
include("include/db_connect.php");

$selectQuery = mysql_query("Select name from dc_user where UID = '".$id."'");
$result = mysql_fetch_array($selectQuery);
?>

<p>Thành viên <?php echo "$result[0]"; ?></p>
<form action="changeUserLevel_2.php?id=<?php echo $id; ?>&page=<?php echo $page; ?>" method="post">
	
<select name="level" size="1">
	<option value=""></option>
	<option value="member">Thành viên</option>
	<option value="provider">Nhà cung cấp</option>
	<option value="admin">Quản trị viên</option>
</select>

<p><input type="submit" class="submit button" name="save" value="Lưu thay đổi" /></p>
<p><a href="javascript:history.go(-1)"><input type="button" class="button" name="btnBack" value="Quay lại" /></a></p>
</form>

</body>
</html>
